package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 答题详情对象 college_paper_answer_detail
 * 
 * @author ruoyi
 * @date 2020-11-19
 */
public class CollegePaperAnswerDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** [标识] */
    private Long id;

    /** [答题标识] */
    @Excel(name = "[答题标识]")
    private Long collegePaperAnswerId;

    /** [题库标识] */
    @Excel(name = "[题库标识]")
    private Long questionStoreId;

    /** [作答内容] */
    @Excel(name = "[作答内容]")
    private String content;

    /** [答案] */
    @Excel(name = "[答案]")
    private String standartAnswer;

    /** [题目总分] */
    @Excel(name = "[题目总分]")
    private Long totalScore;

    /** [得分] */
    @Excel(name = "[得分]")
    private Long score;

    /** [作答结果]0=错误，1=部分错误，2=完全正确 */
    @Excel(name = "[作答结果]0=错误，1=部分错误，2=完全正确")
    private Long answerResult;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCollegePaperAnswerId(Long collegePaperAnswerId) 
    {
        this.collegePaperAnswerId = collegePaperAnswerId;
    }

    public Long getCollegePaperAnswerId() 
    {
        return collegePaperAnswerId;
    }
    public void setQuestionStoreId(Long questionStoreId) 
    {
        this.questionStoreId = questionStoreId;
    }

    public Long getQuestionStoreId() 
    {
        return questionStoreId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStandartAnswer(String standartAnswer) 
    {
        this.standartAnswer = standartAnswer;
    }

    public String getStandartAnswer() 
    {
        return standartAnswer;
    }
    public void setTotalScore(Long totalScore) 
    {
        this.totalScore = totalScore;
    }

    public Long getTotalScore() 
    {
        return totalScore;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }
    public void setAnswerResult(Long answerResult) 
    {
        this.answerResult = answerResult;
    }

    public Long getAnswerResult() 
    {
        return answerResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("collegePaperAnswerId", getCollegePaperAnswerId())
            .append("questionStoreId", getQuestionStoreId())
            .append("content", getContent())
            .append("standartAnswer", getStandartAnswer())
            .append("totalScore", getTotalScore())
            .append("score", getScore())
            .append("answerResult", getAnswerResult())
            .toString();
    }
}
